package com.pan.old;

import com.pan.old.pa.anju.Anju;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        String[] quNames = new String[]{"白云","天河","番禺","海珠","花都","越秀",
                "增城", "黄埔","荔湾" , "南沙","从化"
        };
        String[] urls = new String[]{

                "https://gz.zu.anjuke.com/fangyuan/baiyun/",
                "https://gz.zu.anjuke.com/fangyuan/tianhe/",
                "https://gz.zu.anjuke.com/fangyuan/fanyu/",
                "https://gz.zu.anjuke.com/fangyuan/haizhu/",
                "https://gz.zu.anjuke.com/fangyuan/huadu/",
                "https://gz.zu.anjuke.com/fangyuan/yuexiu/",

                "https://gz.zu.anjuke.com/fangyuan/zengcheng/",
                "https://gz.zu.anjuke.com/fangyuan/huangpua/",
                "https://gz.zu.anjuke.com/fangyuan/liwan/",
                "https://gz.zu.anjuke.com/fangyuan/nansha/",
                "https://gz.zu.anjuke.com/fangyuan/conghua/",

        };
        Anju anju = new Anju();
        for (int i = 0; i < urls.length; i++) {
            anju.start(urls[i],quNames[i]+"区租房数据");
            try {
                Thread.sleep(5000);
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
        }
    }

}
